package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import play.db.jpa.Model;

@Entity
@Table(name= "Picture")
public class Picture extends Model{
	
	@Column(name="pic_name",columnDefinition="varchar(50)")
	public String picName;//图片名称
	
	@Column(name="pic_path",columnDefinition="varchar(200)")
	public String picPath; //图片路径
	
	@Column(name="pic_dis",columnDefinition="varchar(500)")
	public String picDis; //图片描述
	
	public String toString(){
		return picName+" ";
	}
}
